@import './reset';

.container {
    // 主题颜色
    $themeColor: #1b2a65;
    $themeColor-Opa: #1b2a653d;

    // 居中盒子
    %boxCenter {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header {
        background-color: #fff;
        @extend %boxCenter;

        @import './nav';

        // 横幅大图
        .banner {
            max-width: 100%;
            @extend %boxCenter;
            position: relative;

            img {
                width: 100%;
                display: block;
            }

            .imgTitle {
                width: 1200px;
                // border: 1px solid red;
                position: absolute;
                left: 180px;
                bottom: 120px;
                color: #fffefe;

                .title {
                    // border: 1px solid red;
                    display: inline-block;

                    p:first-child {
                        font-size: 52px;
                        text-align: right;
                    }

                    p:last-child {
                        font-size: 36px;
                    }
                }
            }
        }
    }

    main {
        section {
            @extend %boxCenter;

            &>div {
                width: 1200px;
            }

            &:first-child {
                margin-bottom: 35px;
                border-bottom: 1px solid $themeColor-Opa;

                .content_1 {
                    height: 65px;

                    ul {
                        margin-top: 2px;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        justify-content: space-around;
                        align-items: flex-end;

                        li {
                            cursor: pointer;
                            padding: 20px 55px;
                            border-bottom: 2px solid transparent;

                            &:first-child {
                                color: $themeColor;
                                border-bottom-color: $themeColor;
                            }

                            &:hover {
                                color: $themeColor;
                                border-bottom-color: $themeColor;
                            }
                        }
                    }
                }
            }

            .content_title{
                text-align: center;
                margin: 50px 0;
                p{
                    font-size: 18px;
                    color: #333333;
                    span{
                        font-size: 38px;
                    }
                }
            }

            .content_2{
                ul{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    color: #333333;
                    font-size: 14px;
                    line-height: 22px;
                    li{
                        &:first-child{
                            margin-left: 60px;
                        }
                        img{
                            display: block;
                            height: 295px;
                            margin: 0 105px;
                        }
                    }
                }
            }

            .content_3{
                ul{
                    display: flex;
                    align-items: center;
                    color: #333333;
                    font-size: 14px;
                    line-height: 22px;
                    li{
                        &:first-child{
                            margin-right: 60px;
                        }
                        img{
                            display: block;
                            height: 425px;
                        }
                    }
                }
            }
            
            &:last-child{
                min-height: 200px;
                background-color: $themeColor;
                .content_4{
                    color: #fff;
                    .c4_topIcon{
                        width: 100%;
                        display: flex;
                        flex-wrap: wrap;
                        padding: 45px 0;
                        
                        li{
                            box-sizing: border-box;
                            width: 33.3%;
                            display: flex;
                            align-items: center;
                            font-size: 14px;
                            padding: 5px 0;
                            i{
                                font-size: 26px;
                                margin: 0 8px 0 40px;
                            }
                            &:nth-child(2){
                                i{
                                    transform: rotateZ(-90deg);
                                }
                            }
                        }
                    }

                    .c4_inputGroup{
                        display: flex;
                        justify-content: space-between;
                        margin-bottom: 25px;
                        li{
                            width: 49%;
                            height: 40px;
                            // background-color: aqua;

                            input{
                                width: 100%;
                                height: 100%;
                                color: #fefefe;
                                border: 1px solid #fefefe;
                                background-color: transparent;
                                padding-left: 15px;
                                box-sizing: border-box;
                            }
                        }
                    }

                    textarea{
                        color: #fff;
                        width: 100%;
                        height: 80px;
                        border: 1px solid #fefefe;
                        background-color: transparent;
                        box-sizing: border-box;
                        padding: 10px 15px;
                        resize: none;
                    }

                    .c4_authCode{
                        display: flex;
                        margin: 15px 0 35px;
                        li{
                            height: 40px;
                            input{
                                color: #fff;
                                padding-left: 15px;
                                width: 210px;
                                height: 100%;
                                border: 1px solid #fefefe;
                                background-color: transparent;
                                box-sizing: border-box;
                            }

                            img{
                                display: block;
                                height: 100%;
                            }

                            p{
                                line-height: 40px;
                            }
                        }

                    }

                    .submitBtn{
                        border: 1px solid #fefefe;
                        width: 100%;
                        height: 50px;
                        background-color: transparent;
                        color: #ccc;
                        font-size: 18px;
                        margin: 20px 0 80px;
                    }
                }
            }
        }
    }
    @import './footer';
}